package com.yjymm.commonsdk.common.exception.en;

/**
 * @author panhaoxiong
 * @date 2021-02-07 14:11
 */
public enum  DatabaseResultEnum implements BusinessEnum {

    INSERT_VALID(7001, "插入失败"),
    UPDATE_VALID(7002,"更新失败"),
    DELETE_VALID(7003, "删除失败");

    private Integer code;
    private String message;

    private DatabaseResultEnum(Integer code, String message) {
        this.code = code;
        this.message = message;
    }

    @Override
    public Integer getCode() {
        return null;
    }

    @Override
    public String getMessage() {
        return null;
    }
}
